package com.atguigu.blog.service;


import com.atguigu.blog.pojo.Category;

import javax.management.ObjectName;
import java.util.List;
import java.util.Map;

public interface CategoryService {
    List<Category> showAll();
    Map<String,Object> showAllPage(Integer page,Integer limit,Category category);
    Category showAllByCid(Integer cid);
    Integer add(Category category);
    Integer change(Category category);
    Integer remove(Integer cid);
}
